﻿using System;
using System.Collections.Generic;

namespace YaAppoint.Rules
{
    public class RuleSchema
    {
        // 科室ID
        public Guid DepartmentId { get; set; }

        // 设备类型ID
        public Guid DeviceTypeId { get; set; }

        // 设备ID
        public Guid DeviceId { get; set; }

        // 全局规则结构
        public List<RuleGroupDto> GlobalGroups { get; set; }

        // 科室规则结构
        public List<RuleGroupDto> DepartmentGroups { get; set; }

        // 设备类型规则结构
        public List<RuleGroupDto> DeviceTypeGroups { get; set; }
             
        // 设备规则结构
        public List<RuleGroupDto> DeviceGroups { get; set; }
    }
}
